#ifndef BOARD_SENSOR_H
#define BOARD_SENSOR_H
#include <stdint.h>


#ifndef OV2732_RGB_RSTN_INDEX
#define OV2732_RGB_RSTN_INDEX	(11)
#endif

#ifndef OV2732_IR_RSTN_INDEX
#define OV2732_IR_RSTN_INDEX	(7)
#endif

#define OV2732_MCLK_INDEX		(3)
#define OV2732_SLAVE_ADDR_SID1	(0x10)
#define CK_IIC_SLAVE_ADDR_IRLED 0x63

#define OV27332_IR_PWRDN        (5)


typedef enum {
    SNS_ID_OV2732_RGB,             
    SNS_ID_OV2732_IR,             
} sensor_id_e;

int camera_ov2732_rgb_init();
int camera_ov2732_ir_init();
int32_t sensor_standby(uint32_t isp_idx);
int32_t sensor_stream(uint32_t isp_idx);

void cfg_sensor_mi_buffer(uint8_t mode);
#endif

